import { createRouter, createWebHistory } from 'vue-router'
// import VueRouter from 'vue-router'
import { Routes } from '@/router/routes'

const router = createRouter({
  history: createWebHistory(),
  routes: Routes,
  scrollBehavior() {
    return { top: 0 }
  }
})

export default router
